#!/bin/bash
clear

TEXT='\033[30;107;2m'
INFO='\033[97;44m'
WARNING='\033[97;43m'
ERROR='\033[97;41m'
SUCCESS='\033[97;42m'
GREEN='\033[92m'
YELLOW='\033[93m'
RESET='\033[0m'

if [ "${EUID}" -ne 0 ]; then
  echo -e "${ERROR} RALAT ${RESET}${TEXT} Anda tiada kebenaran untuk menjalankan skrip ini! ${RESET}"; exit 1
fi

clear
echo
echo -e "${TEXT} ========================================================== ${RESET}"
echo -e "${TEXT} TROJAN - SENARAI AKAUN                                     ${RESET}"
echo -e "${TEXT} ---------------------------------------------------------- ${RESET}"
echo
FILE=/usr/local/etc/v2ray/.trojan
while read -r line; do
  setSeperator=--------------------
  setSeperator=$setSeperator$setSeperator
  setRows="%-15s| %-3s| %10s| %7s| %-4s| %-18s\n"
  tableWidth=80
done < "$FILE"
echo
echo -e "${TEXT} ---------------------------------------------------------- ${RESET}"
echo -e "${TEXT} Dicipta oleh Doctype, Dikuasakan oleh Cybertize.           ${RESET}"
echo -e "${TEXT} ========================================================== ${RESET}"
echo